package com.sc.smartcommunity.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.sc.smartcommunity.domain.Payment;
import com.sc.smartcommunity.domain.vo.PaymentVO;
import com.sc.smartcommunity.domain.vo.ResultVO;

public interface PaymentService extends IService<Payment> {

    /**
     * 创建缴费记录
     */
    ResultVO createPayment(PaymentVO paymentVO);

    /**
     * 获取用户的缴费记录
     */
    ResultVO getUserPayments(Long userId, Integer page, Integer size);

    /**
     * 支付缴费订单
     */
    ResultVO payOrder(Long paymentId, Integer payChannel);

    /**
     * 查询缴费详情
     */
    ResultVO getPaymentDetail(Long paymentId);
}
